Class ChunkProfiler

java.lang.Object
jeresources.profiling.ChunkProfiler
All Implemented Interfaces:
Runnable

public class ChunkProfiler extends Object implements Runnable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChunkProfiler(net.minecraft.server.level.ServerLevel level, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimensionKey, List<net.minecraft.world.level.chunk.ChunkAccess> chunks, jeresources.profiling.ProfiledDimensionData dimensionData, ProfilingTimer timer, ProfilingBlacklist blacklist)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getDrops(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    void
    run()
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ChunkProfiler

      public ChunkProfiler(net.minecraft.server.level.ServerLevel level, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimensionKey, List<net.minecraft.world.level.chunk.ChunkAccess> chunks, @Nonnull jeresources.profiling.ProfiledDimensionData dimensionData, ProfilingTimer timer, ProfilingBlacklist blacklist)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getDrops

      public static Map<String,Map<Integer,Float>> getDrops(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)